#pragma once
#include "IInputListener.h"
#include <SFML/Graphics.hpp>

typedef void (*BlockPlacementCallback)(int,int);

/*	Listens for the "Block Placement" event
*/
class BlockPlacement : public IInputListener
{
public:
	BlockPlacement(sf::RenderWindow& app,
				   BlockPlacementCallback blockPlacementCallback);
	virtual ~BlockPlacement(void);

	virtual void parseInput(const sf::Input& input);

private:
	sf::RenderWindow& app_;
	BlockPlacementCallback callback_;
	bool wasMouseDown_;
};
